package cn.neusoft.feignClients;

import cn.neusoft.interceptor.FeignInterceptor;
import cn.neusoft.query.OperatorQuery;
import cn.neusoft.vo.ResultBean;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "admin-server", configuration = FeignInterceptor.class)
public interface AdminFeignClient {

    @PostMapping("/operator/page")
    // 分页模糊查询员工信息
    ResultBean findByPage(@RequestBody OperatorQuery operatorQuery);
}
